<?php
define('IN_PHPBB', true);
// Specify the path to you phpBB3 installation directory.
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
// The common.php file is required.
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin(false);
$auth->acl($user->data);

$user->setup();

if (isset($config['molten_chat_installed']) and !empty($config['molten_chat_enable']))
{
	// Output page
	page_header($user->lang['MOLTEN_CHAT_SHOUTBOX']);

	$template->set_filenames(array(
		'body' => 'molten_chat_room.html')
	);

	page_footer();
}
else
{
	trigger_error ('Chat disabled.', E_USER_WARNING);
}